package com.yangming.springboot.service;

import com.yangming.springboot.dao.PermissionDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

/**
 * @创建人 ym
 * @创建时间 2021/3/25 0025
 * @描述
 **/
@Service
public class PermissionService {

    @Autowired
    private PermissionDao permissionDao;

    public List<String> queryUserHasRoleHasModules(Integer roleId){
        return permissionDao.queryUserHasRoleHasModules(roleId);
    }

}
